package org.zero.onlinesubject.service;

import org.zero.onlinesubject.common.vo.Result;
import org.zero.onlinesubject.common.vo.TaskPubVo;
import org.zero.onlinesubject.entity.TaskDetails;
import org.zero.onlinesubject.entity.TaskPub;
import com.baomidou.mybatisplus.extension.service.IService;
import org.zero.onlinesubject.entity.TaskType;

import java.util.List;

/**
 *
 */
public interface TaskPubService extends IService<TaskPub> {

    List<TaskType> getTaskTypes();

    Boolean saveTask(TaskDetails taskDetails);

    Boolean publishTask(TaskPub taskPub);

    TaskPubVo getTaskInfo(String taskId);
}
